/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-04-29
*/
package com.rzico.report.service;

import com.rzico.base.BaseMapper;
import com.rzico.base.impl.BaseServiceImpl;
import com.rzico.report.entity.InStockCountVo;
import com.rzico.report.entity.SupplyCountVo;
import com.rzico.report.mapper.InStockCountMapper;
import com.rzico.report.mapper.SupplyCountMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <pre>
 * 出入库销售统计表
 * </pre>
 *
 * @author Rzico Boot
 * @version 1.0
 */
@Service
public class InStockCountService extends BaseServiceImpl<InStockCountVo, String> {

    @Autowired
    private InStockCountMapper inStockCountMapper;


    @Override
    public BaseMapper<InStockCountVo, String> getMapper() {
        return inStockCountMapper;
    }

    public List<InStockCountVo> selectInStockList(Map<String, Object> params){
        return inStockCountMapper.selectInStockList(params);
    }

    public List<InStockCountVo> selectSummary(Map<String, Object> params){
        return inStockCountMapper.selectSummary(params);
    }

}
